package com.okaysoft.ofb

class CompositionDetails {
    
    String name //对应布局名称,如:c_1_1
    String area //区号，机框号
    String x
    String y
    String width
    String height

    static constraints = {
        x nullable: true
        y(nullable: true)
        width(nullable: true)
        height(nullable: true)
        name(unique: ['area'])
    }

    static mapping = {
        version(false)
    }
}
